package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.VenueReportDrawingCategoryDTO;
import com.eastfair.home.dto.VenueReportDrawingDTO;
import com.eastfair.home.entity.VenueReportDrawing;
import com.eastfair.home.enumeration.VenueReportReportDrawingStatusEnum;
import com.eastfair.home.vo.VenueReportDrawingVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 一键报馆图纸
 * </p>
 *
 * @author dq
 * @date 2022 -10-31
 */
public interface VenueReportDrawingService extends SuperService<VenueReportDrawing> {

    /**
     * 查询图纸列表VO.
     *
     * @param venueReportDrawingDTO the venue report drawing dto
     * @return the list
     */
    List<VenueReportDrawingVO> listVenueReportDrawingVO(VenueReportDrawingDTO venueReportDrawingDTO);

    /**
     * 查询图纸列表.
     *
     * @param venueReportDrawingDTO the venue report drawing dto
     * @return the list
     */
    List<VenueReportDrawing> listVenueReportDrawing(VenueReportDrawingDTO venueReportDrawingDTO);

    /**
     * 获取图纸上报状态.
     *
     * @param exhibitionManageId the exhibition manage id
     * @param spaceCode          the space code
     * @param venueReportId      the venue report id
     * @return the report drawing status
     */
    VenueReportReportDrawingStatusEnum getReportDrawingStatus(Long exhibitionManageId, String spaceCode, Long venueReportId);

    /**
     * 保存报馆图纸.
     *
     * @param venueReportDrawingDTO the venue report drawing dto
     * @return the venue report drawing
     */
    VenueReportDrawing saveVenueReportDrawing(VenueReportDrawingDTO venueReportDrawingDTO);

    /**
     * 批量保存报馆图纸.
     *
     * @param list the list
     * @return the boolean
     */
    boolean saveBatch(List<VenueReportDrawingDTO> list);

    /**
     * 提交报馆图纸.
     *
     * @param venueReportDrawingCategoryDTO the venue report drawing category dto
     * @return the boolean
     */
    boolean submitBatch(VenueReportDrawingCategoryDTO venueReportDrawingCategoryDTO);
}
